import 'package:cream_chat_flutter/globals/ThemeProvider.dart';
import 'package:cream_chat_flutter/pages/HomeTabPage/HomeTabPageProvider.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';

///大首页的tab首页 不需要继承Page
class UserTabPage extends StatefulWidget {
  tabChange() {

  }
  @override
  State<StatefulWidget> createState() => _UserTabPageState();
}

class _UserTabPageState extends State<UserTabPage> {

  @override
  void initState() {
    super.initState();
    print("_UserTabPageState initState");
  }

  @override
  Widget build(BuildContext context) {
    return Consumer2<ThemeProvider, HomeTabPageProvider>(
        builder: (BuildContext context, ThemeProvider tp,
            HomeTabPageProvider htp, Widget child) =>
            Scaffold(
              appBar: AppBar(title: Text("我的页面")),
              body: Text("我的页面"),
            ));
  }
}
